package com.lg.ws.wsprovider.service;

import com.lg.ws.wsprovider.bo.UserBO;
import org.springframework.stereotype.Component;

import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: wltt
 * @Date: 2019/4/11 9:54
 * @Version: 1.0
 * @Description: TODO
 */
@WebService(serviceName = "HelloService", //与接口中指定的name一直
        targetNamespace = "http://service.wsprovider.com/", // 与接口中的命名空间一致
        endpointInterface = "com.lg.ws.wsprovider.service.HelloService"//接口地址
)
@Component
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String userName, String userTel) {
        return "hello! " + userName + userTel;
    }
}
